/* 
* Copyright (C) 2011-2018 ShenZhen iBOXSaaS Information Technology Co.,Ltd. 
* 
* All right reserved. 
* 
* This software is the confidential and proprietary 
* information of iBOXSaaS Company of China. 
* ("Confidential Information"). You shall not disclose 
* such Confidential Information and shall use it only 
* in accordance with the terms of the contract agreement 
* you entered into with iBOXSaaS inc. 
* 
*/

 package com.iboxpay.open.auth.center.service;

import java.util.Map;

import org.springframework.web.bind.annotation.RequestBody;

/**
 * 
 * AuthService.java
 * @author xuxiao
 * @date 2018/06/25
 */
public interface AuthService {
     
     /**
      * 用户确认授权
      * @param requestMap
      * @return
      */
     public String authUserConfirm(Map<String, Object> requestMap);
     
     /**
      * 用户获取token
      * @param requestMap
      * @return
      */
     public Map<String, Object> authUserAccessToken(Map<String, Object> requestMap);
     
     /**
      * app获取token
      * @param requestMap
      * @return
      */
     public Map<String, Object> authAppAccessToken(@RequestBody Map<String, Object> requestMap);
     
     /**
      * token刷新
      * @param requestMap
      * @return
      */
     public Map<String, Object> authRefreshToken(@RequestBody Map<String, Object> requestMap);

}
